home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Corel CD Power Pak: Utilities
/
Corel CD Power Pak: Utilities.iso
/
scsi2
/
aspiibm.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1993-10-22
|
8KB
|
210 lines
ASPIDRIVER IBM V1.00 command line switches
------------------------------------------
DEVICE=ASPIIBM.SYS [/l] [/m] [/n<slot>] [/a<bus-on time>] [/b<bus-off time>]
[/i] [/d <HAN>,<ID>,<BYTE>] [/z <slot>] [/s<scsi-speed>] [/r[w]]
/L enable nonzero LUN SCSI scanning at boot (for ASPI=1 GetDeviceType)
/M disable full message display during boot
/I disable int 13h module loading;by default int 13h module is loading
for first ibm host adapter recognized:if autoscanning is enabled
(no /n option set) the driver assigns as the first adapter the ibm
adapter at the LOWEST slot number
NOTE : if you are booting from a SCSI hard disk and you are loading
ASPIIBM.SYS DO NOT USE /I option
/Z<slot>exclude slot from install (MCA BUS)
/N<slot>install slot number (MCA BUS) - can be given multiple times
if no /n option exists the driver is autoscanning the SCSI bus and
installing all supported cards on MCA BUS-slot increasing order
/R do SCSI hard reset to all found host adapters.This option is useful
after a host adapter previous "hang" (the host adapter LED remains
on after reset,the card is not recognised at boot by the driver,etc)
/RW do SCSI hard reset and wait 5 seconds before any SCSI request is made
to the host adapter (for slow old SCSI devices that could "hang" the
host adapter after SCSI bus reset is sent)
/D<HAN>,<ID>,<BYTE> set unique parameter byte configuration option for
the specified host adapter and SCSI ID.You can set the following bits
bit2-prevent target disconnect
bit3-no autosense
bit6-disable special ibm cached read/write commands for int 13h
For details about the configuration byte see ASP=5 Set Host Adapter
parameters
/A<bus on time decimal> - specifies the amount of relative time the host
adapter bus master is allowed to hold the bus
/B<bus off time decimal> - specifies the amount of relative time the host
adapter bus master must release the bus
On the IBM card the buson value means the percentage of 100% of the
MCA bus bandwidth to be used:tbuson+tbusoff=100 (if not it is displayed
an appropiate error);
NOTE:BOTH switches must be specified for programming the DMA pacing
factor
/S<SCSI synchronuous transfer speed hexa> - specifies the SCSI timing of the host adapter
the allowed values are
scsi speed scsi sync rate (IBM) (MB/s)
0 5.00
1 4.00
2 3.33
3 2.86
4 2.50
5 2.22
6 2.00
7 1.82
ASPIDRIVER IBM V1.00 initialization and mesages
-----------------------------------------------
Note : most of the initialization messages can be disabled to be
displayed with the /M option.
After the initial message
"CorelASPI for DOS - device driver V1.00"
"Copyright (c) 1992-1993 Corel Corp."
the driver starts processing of the config.sys line. If any i/o slots
are specified the driver tries installing only the cards that
correspond to the specified slots;else the driver scans the MCA
bus for valid SCSI supported cards and installs them all. If none is
found the driver exits without installing with the message
"No supported SCSI cards located"
"Driver is not installed"
At the end of the initialization the exit message displays the
number of SCSI cards installed.
"Installation complete : x SCSI card(s) located"
x-number of installed cards
Any config.sys command error is ignored with the message
"Unknown command line errors ignored"
The per card host adapter specific initialization starts with the
message
"Initialising host adapter : x"
"Configuration I/O : yyyy, IDD : d, IRQ : bb, DMA : a"
x-host adapter number (0 based)
yyyy-base I/O port for the card
d-the bord ID byte as returned by adapter inquiry command
bb-interrupt level for the card
a-dma channel for the bus master chip
Also the slot number is displayed
"Microchannel slot : x"
x-slot number (1-8)
Then the driver is displaying the IBM host type and bus width
" Host : IBMSCSI/xx Va.bb"
xx=16/32 bits the bus width
a.bb the firmware revision number
The driver is scanning the SCSI bus for present devices and displayes
the results. If the /L option is specified the scanning is made for
every SCSI LUN on a given SCSI ID, else the inquiry is made only for
LUN = 0 on a given ID.
The /A /B /S command line switches display the programming of the
specified parameters. These parameters are GLOBAL for EVERY installed
card.
" Configuring DMA pacing factor to xxx%, host : yy"
" Configuring SCSI synchronuous speed to zz.z MB/s"
xxx-percentage of bus used
yy=host adapter number
zz.z-value in mbytes/second of the scsi synchrounuous transfer rate
If the per card initialization is succesfull the last message is
"Initialising complete host adapter : x"
else
"Initialising error host adapter : x error : yyyy"
x-host adapter number (0 based)
yyys-the error code
In this last case the driver displays also a corresponding error
string.Also in should be noted that in this last case the driver is
not installing FOR the specified card.
If there are any present SCSI hard disks, the driver changes the
hard disk interrupt services vector. If there are any CMOS installed
hard disks, the driver installs the vector after them.Remember that
the /I option disables the loading of the int 13h vector. Use this
option if you have no SCSI hard drives in your system, so that the
driver do not keep the code for int 13h resident.
Upon succesfull instalation of the vector the driver displays the
message
"ASPI - hard disk interrupt SCSI module V1.00"
"INT 13H redirected - for X:,Y drive(s)"
X=start drive for which the vector is installed (C: or D:)
Y=number of SCSI hard drives for which the vector is installed
Following are the int 13h error messages
"SCSI device id 0 lun 0 not a direct access device"
"INT 13H function error"-the BIOS read drive parameters failed
"Read test INT 13h error"-the verify test with the new int 13h
vector failed.
The autoscan on MCA bus is in the order slot #1 to slot #8.
If the slot in which the SCSI boot hard disk is present is AFTER
another IBM SCSI card slot (slot 4 non bootable SCSI card, SCSI 6 hard
disk to boot from), the int 13h vector will not install properly
unless you specify on the command line /n6 /n4 as in our
example, to force the installation of the cards in your own order.
This will ensure that the boot host adapter number IS zero
and the int 13h vector installs by default.Alternately you can assign
in a lower slot the IBM card that has the bootable hard drive;
Attention : for correct functioning with more than one IBM card in the
system you must insure that the BOOTABLE hard drive is always on the
first IBM host adapter
NOTE: After installing Windows you may REM the config.sys line
device=c:\windows\smartdrv.exe /DOUBLE_BUFFER.This option is
not needed by the ASPI MANAGER
NOTE: MCA bus = IBM MicroChannel PS/2 I/O bus
NOTE: NEW FEATURES
1.support for > 1 GB hard drives if BIOS supports it also
2.support for > 2 hard drives if DOS 5.0 or higher present
on multiple host adapters;for each host adapter the drives
letters are assigned in SCSI ID decreasing order, and for
multiple hosts they are assigned in slot increasing order
SCSI ID's must not be contiguous.
NOTE: Through IBM configuration from the reference diskette you
can change the hard disk boot device : for example if you have
two hard disks SCSI ID=6 and ID=4 the normal boot drive is from
ID=6;with Set features menu you can specify in Set startup
sequence to boot from drive at ID=4;When loading ASPIDRV.SYS
DO NOT USE THIS OPTION;ASPIDRV.SYS will always try to boot
from hard disk ID=6 (as in our example).